projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973060d
)
gtk: x: fix compilation without x11 backend
author
Lionel Landwerlin
<llandwerlin@gmail.com>
Sat, 7 Feb 2015 20:05:18 +0000
(20:05 +0000)
committer
Lionel Landwerlin
<lionel.g.landwerlin@intel.com>
Thu, 12 Feb 2015 10:55:52 +0000
(10:55 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=744148
gtk/gtkx-autocleanups.h
patch
|
blob
|
history
diff --git
a/gtk/gtkx-autocleanups.h
b/gtk/gtkx-autocleanups.h
index 3705ff4564a6915e65e3631d7b809f6e59f83d23..bc200a0207595eab6d626f96a6741ef99edffaca 100644
(file)
--- a/
gtk/gtkx-autocleanups.h
+++ b/
gtk/gtkx-autocleanups.h
@@
-19,9
+19,13
@@
#error "Only <gtk/gtkx.h> can be included directly."
#endif
+#ifdef GDK_WINDOWING_X11
+
#ifndef __GI_SCANNER__
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSocket, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPlug, g_object_unref)
#endif
+
+#endif